try{	
	//备料计划表体
	Type.registerNamespace('PickmItemVO');
	PickmItemVO = function(){};
	PickmItemVO.prototype = new NCMMPubUtil.SuperVO();
	PickmItemVO.PK_B={
		name:"pk_b", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
		PickmItemVO.PK_H={
		name:"pk_h", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
		//备料计划行号
	PickmItemVO.VROWNOPICKM={
		name:"vrownopickm", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	// 材料
	PickmItemVO.CBMATERIALID={
		name:"cbmaterialid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	PickmItemVO.VMCODE={
		name:"vmcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	PickmItemVO.VMNAME={
		name:"vmname", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	PickmItemVO.DREQUIREDATE={
		name:"drequiredate", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	PickmItemVO.NPLANOUTASTNUM={
		name:"nplanoutastnum", type:NCMMPubUtil.VALUE_TYPE_REAL
	};	
	PickmItemVO.NPLANOUTNUM={
		name:"nplanoutnum", type:NCMMPubUtil.VALUE_TYPE_REAL
	};
	
	PickmItemVO.NSHOULDASTNUM={
		name:"nshouldastnum", type:NCMMPubUtil.VALUE_TYPE_REAL
	};	
	PickmItemVO.NSHOULDNUM={
		name:"nshouldnum", type:NCMMPubUtil.VALUE_TYPE_REAL
	};
		PickmItemVO.NACCOUTASTNUM={
		name:"naccoutastnum", type:NCMMPubUtil.VALUE_TYPE_REAL
	};	
	PickmItemVO.NACCOUTNUM={
		name:"naccoutnum", type:NCMMPubUtil.VALUE_TYPE_REAL
	};		
	PickmItemVO.NPSCASTNUM={
		name:"npscastnum", type:NCMMPubUtil.VALUE_TYPE_REAL
	};	
	PickmItemVO.NPSCNUM={
		name:"npscnum", type:NCMMPubUtil.VALUE_TYPE_REAL
	};
		//单位
	PickmItemVO.CASSMEASUREID={
		name:"cassmeasureid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单位编码
	PickmItemVO.VASSMEASURECODE={
		name:"vassmeasurecode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单位名称
	PickmItemVO.VASSMEASURENAME={
		name:"vassmeasurename", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	PickmItemVO.CMEASUREID={
		name:"cmeasureid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单位名称
	PickmItemVO.VMEASURENAME={
		name:"vmeasurename", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单位编码
	PickmItemVO.VMEASURECODE={
		name:"vmeasurecode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//measrate 换算率
	PickmItemVO.MEASRATE={
		name:"measrate", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存批次
	PickmItemVO.PK_BATCHCODE={
		name:"pk_batchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存批次号
	PickmItemVO.VBATCHCODE={
		name:"vbatchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};

	
	
	pk_batchcode ，vbatchcode vrownopickm
	
	PickmItemVO.PK_ORG={
		name:"pk_org", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	PickmItemVO.DR={
		name:"dr", type:NCMMPubUtil.VALUE_TYPE_INTEGER
	};

	PickmItemVO.PK_GROUP={
		name:"pk_group", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	PickmItemVO.TS={
		name:"ts", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	
	//vmcode vmname drequiredate nplanoutastnum nplanoutnum
	

	PickmItemVO.prototype.getAllAttrs = function(){
		return [PickmItemVO.PK_B,
				PickmItemVO.PK_H,
				PickmItemVO.VROWNOPICKM
				PickmItemVO.CBMATERIALID,
				PickmItemVO.VMCODE,
				PickmItemVO.VMNAME,				
				PickmItemVO.DREQUIREDATE,
				PickmItemVO.NPLANOUTASTNUM,
				PickmItemVO.NPLANOUTNUM,
				PickmItemVO.NSHOULDASTNUM,
				PickmItemVO.NSHOULDNUM,
				PickmItemVO.NACCOUTASTNUM,
				PickmItemVO.NACCOUTNUM,
				PickmItemVO.NPSCASTNUM，
				PickmItemVO.NPSCNUM，
				PickmItemVO.CASSMEASUREID，
				PickmItemVO.VASSMEASURECODE，
				PickmItemVO.VASSMEASURENAME，
				PickmItemVO.CMEASUREID，
				PickmItemVO.VMEASURENAME，
				PickmItemVO.VMEASURECODE，
				PickmItemVO.MEASRATE，
				PickmItemVO.PK_BATCHCODE，
				PickmItemVO.VBATCHCODE，				
				PickmItemVO.PK_ORG，
				PickmItemVO.DR，
				PickmItemVO.PK_GROUP，
				PickmItemVO.TS
				];
	};
	PickmItemVO.prototype.getTableName = function(){
		return "app_mm_pickm_b";
	};
	PickmItemVO.prototype.getPrimaryAttr = function(){
		return PickmItemVO.PK_B;
	};			
	
}catch(e){$e(e);}